<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Ordenes_De_Servicio
 *
 * @author kristian
 */
class Spalm_Model_DbTable_OrdenesDeServicio extends Zend_Db_Table_Abstract {

    protected $_name = 'ordenes_de_servicio';

    // referencias a otras tablas
    protected $_referenceMap = array(
        'Cliente' => array(
            'columns' => array('cliente_id'),
            'refTableClass' => 'Spalm_Model_DbTable_Clientes',
            'refColumns' => array('id')
        ),
        'Estado' => array(
            'columns' => array('estado_id'),
            'refTableClass' => 'Spalm_Model_DbTable_Estados_Ordenes_De_Servicio',
            'refColumns' => array('id')
        )
    );
}
?>
